cmake_minimum_required(VERSION 3.16)
project(DataStructAnd_Alg)

set(CMAKE_CXX_STANDARD 14)
add_subdirectory(src)
include_directories(include)
add_executable(main main.cpp)
target_link_libraries(main numSquares minStack dailyTemperatures isValid inorderTraversal
        findTargetSumWays MyQueue duplicate getDuplication findNumberIn2DArray rebuildTree maxProfit
        fastsort maxProductCutting sqrt maxValue containsDuplicate intersection isHappy isAnagram
        isIsomorphic frequencySort twoSum threeSum fourSum MyStack)